package com.hiyee.customer.mapper;

import com.hiyee.api.mapper.MyMapper;
import com.hiyee.pojo.Customer;
import com.hiyee.pojo.repo.CustomerInfoRepo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface CustomerMapper extends MyMapper<Customer> {
    /**
     * 根据 id 获取 客户信息
     * @param Long id
     * @return Map
     */
    public CustomerInfoRepo getById(@Param("id") Long id);
}